<?php

/**
 * Celebrityvote filter form.
 *
 * @package    iEasy
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class CelebrityvoteFormFilter extends BaseCelebrityvoteFormFilter
{
    public function configure()
    {
        $this->widgetSchema['celebrity_id']->setOption(
            'renderer_class',
            'sfWidgetFormDoctrineJQueryAutocompleter'
        );
        $this->widgetSchema['celebrity_id']->setOption('renderer_options', array(
                                                                                'model' => 'Celebrity',
                                                                                'url' => 'filterCelebrity' // example only
                                                                           ));
    }
}
